<!--
  Generated template for the RepairInfoPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>{{title}}修</ion-title>
  </ion-navbar>

</ion-header>


<ion-content class="applyrepair">
  <ion-list>
    <ion-item>
      <ion-label>{{title}}修公司:</ion-label>
      <ion-input type="text" disabled="true" [(ngModel)]="applyRepairBean.partyName"></ion-input>
    </ion-item>
    <ion-item style="margin-bottom: 5px">
      <ion-label>{{title}}修人姓名:</ion-label>
      <ion-input type="text" disabled="true" [(ngModel)]="applyRepairBean.recorderName"></ion-input>
    </ion-item>

    <div class="area">
      <div class="content">
        <p>电梯位置:</p>
        <ion-textarea placeholder="请在这里输入电梯所在位置" rows="5" type="text" [(ngModel)]="applyRepairBean.blocksNum"></ion-textarea>
      </div>
    </div>
    <div class="area">
      <div class="content">
        <p>{{title}}修问题:</p>
        <ion-textarea placeholder="请在这里输入您要报修的问题" rows="5" type="text" [(ngModel)]="applyRepairBean.applyQuestion"></ion-textarea>
      </div>
    </div>
    <div class="area">
      <div class="content">
        <p>整改处理方法:</p>
        <ion-textarea placeholder="请在这里输入您的整改处理方法" rows="5" type="text" [(ngModel)]="applyRepairBean.dealWay"></ion-textarea>
      </div>
    </div>

    <ion-item *ngIf="applyRepairBean.applyType==1">
      <ion-label>预估费用:</ion-label>
      <ion-input type="text" placeholder="必填，无费用可填 0" [(ngModel)]="applyRepairBean.cost"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>预约维修时间:</ion-label>
      <ion-datetime placeholder="请选择时间" displayFormat="YYYY-MM-DD HH:mm:ss" [(ngModel)]="applyRepairBean.repairTime"
        cancelText="取消" doneText="确认"></ion-datetime>
    </ion-item>
  </ion-list>
  <div class="signarea">
    <p>签名:（提示:请在签完名后点击保存）</p>
    <signatrue [inValue]="time" (outPut)="getImgUrl($event)"></signatrue>
  </div>
  <button ion-button (click)="send()" class="submit">提交</button>
</ion-content>